package com.indexingsystem.boss.entity;


import java.io.Serializable;


/**
 * 功能权限关系实体.
 * 
 * @author Administrator
 */
public class OperationsRelations implements Serializable
{
    /**
     * 序列化.
     */
    private static final long serialVersionUID = 7927764902614479567L;

    private String relationsId;

    private String functionId;

    private String functionName;

    private String operationId;

    private String operationName;

    private Integer enable;

    public String getRelationsId()
    {
        return relationsId;
    }

    public void setRelationsId(String relationsId)
    {
        this.relationsId = relationsId == null ? null : relationsId.trim();
    }

    public String getFunctionId()
    {
        return functionId;
    }

    public void setFunctionId(String functionId)
    {
        this.functionId = functionId == null ? null : functionId.trim();
    }

    public String getFunctionName()
    {
        return functionName;
    }

    public void setFunctionName(String functionName)
    {
        this.functionName = functionName == null ? null : functionName.trim();
    }

    public String getOperationId()
    {
        return operationId;
    }

    public void setOperationId(String operationId)
    {
        this.operationId = operationId == null ? null : operationId.trim();
    }

    public String getOperationName()
    {
        return operationName;
    }

    public void setOperationName(String operationName)
    {
        this.operationName = operationName == null ? null : operationName.trim();
    }

    public Integer getEnable()
    {
        return enable;
    }

    public void setEnable(Integer enable)
    {
        this.enable = enable;
    }

    public OperationsRelations()
    {
        super();
    }

    public OperationsRelations(String relationsId, String functionId, String functionName,
                               String operationId, String operationName, Integer enable)
    {
        super();
        this.relationsId = relationsId;
        this.functionId = functionId;
        this.functionName = functionName;
        this.operationId = operationId;
        this.operationName = operationName;
        this.enable = enable;
    }

    @Override
    public String toString()
    {
        return "OperationsRelations [relationsId=" + relationsId + ", functionId=" + functionId
               + ", functionName=" + functionName + ", operationId=" + operationId
               + ", operationName=" + operationName + ", enable=" + enable + "]";
    }
}